#pragma once

#include <mutex>
#include <thread>
#include <stdio.h>
#include <vector>
#include <iostream>
#include <ifaddrs.h>
#include <netinet/in.h> 
#include <arpa/inet.h>

#include "rclcpp/rclcpp.hpp"


using namespace std;

namespace PLCModbus{

#define DefaultTopicName "CMD000"

#define DefaultTopicSubName "NULL"

#define PrefixStr_MBParam "/deviceTree/XNET0/protocol/master_para/TCPslave"

}